var app = angular.module('app',['ngRoute']);
app.controller('con',function($scope,$http){
			$http.get('json/home.json').success(function(data){
				console.log(data)
				$scope.home = data;
			})
			$http.get('json/fenlei.json').success(function(data){
				console.log(data)
				$scope.fenlei = data;
			})
				$http.get('json/collect.json').success(function(data){
				console.log(data)
				$scope.collect = data;
			})
				$http.get('json/set.json').success(function(data){
				console.log(data)
				$scope.sets = data;
			})
				$http.get('json/sc-detail.json').success(function(data){
				console.log(data)
				$scope.details = data;
			})
				$http.get('json/glDetail.json').success(function(data){
				console.log(data)
				$scope.glDetails = data;
			})
				$scope.show = function() {
					$("dl").hide()
					$("#pic").show()
				}
				$scope.hide = function() {
					$("#pic").hide()
					$("dl").show()
				}
				$http.get('json/taoqi.json').success(function(data){
				console.log(data)
				$scope.taoqi = data;
			})
				$scope.animate = function() {

					$("#set_bottom").slideToggle();
					$("#fuceng").toggle();
				}
				$scope.over = function() {
					$("#set_bottom").slideToggle();
					$("#fuceng").toggle();
					
				}
					$http.get('json/mine.json').success(function(data){
				console.log(data)
				$scope.mines = data;
			})
	})

		

